import Vue from "vue";
import App from "./App.vue";
import "./assets/css/init.css";
import flexible from "flexible.js";
// import "echarts-china-cities-js";
flexible(1920, 1920);
Vue.config.productionTip = false;
// import * as echarts from 'echarts/core';
// import {
//   TooltipComponent
// } from 'echarts/components';
// import {
//   PieChart
// } from 'echarts/charts';
// import {
//   CanvasRenderer
// } from 'echarts/renderers';

// echarts.use(
//   [TooltipComponent, PieChart, CanvasRenderer]
// );
import * as echarts from "echarts";

Vue.prototype.$echarts = echarts;
new Vue({
  render: (h) => h(App),
}).$mount("#app");
